package com.flu.holidays.consumer.result;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description = "返回结果")
public class BaseResult<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "状态码")
    private int code;
    @Schema(description = "返回内容")
    private String msg;
    @Schema(description = "数据对象")
    private T data;
}
